package com.zhb.cloud.config;

public class ZooKeeperClientFactory {

	/**
	 * session timeout in milliseconds
	 */
	public static final int ZOOKEEPER_SESSION_TIMEOUT = 10 * 1000;

	/**
	 * connection timeout in milliseconds
	 */
	public static final int ZOOKEEPER_CONNECTION_TIMEOUT = 10 * 1000;

	/**
	 * max number of times to retry
	 */
	public static final int ZOOKEEPER_RETRY_TIMES = 3;

	/**
	 * initial amount of time to wait between retries in milliseconds
	 */
	public static final int ZOOKEEPER_RETRY_INTERVAL = 1000;

}